import {createSSRApp} from "vue";
import * as Pinia from 'pinia';
import tmui from "./tmui"
import App from "./App.vue";
import {config} from "./config/config"

export function createApp() {
    const app = createSSRApp(App);
    app.use(tmui, {shareDisable: false} as Tmui.tmuiConfig)
    return {
        app,
        Pinia
    };
}
